package com.msb;

import com.msb.framework.mq.annotation.MessageQueueScan;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

@Slf4j
@MessageQueueScan(value = "com.msb.**.mq")
@SpringBootApplication
@EnableAsync
public class HorseAllApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(HorseAllApplication.class, args);
    }
}
